package com.kedacom.demo.modularity.message;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

@Path("/xmppmessager")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public interface XMPPMessageGateway {

	@POST
	@Path("/send")
	public void send(InstantMessage message);

}
